/*
====================================================================================================================================================================
                                                    Start Content Properties
====================================================================================================================================================================
*/

.bannerimage {
  background-image: url('../img/research-banner.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 400px;
}

.tiles {
  margin-bottom: -1em;
}


.publication-tiles {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/publication-tile.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 400px;
}

.surfzone-tiles {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/surfzone-tile.JPG');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 400px;
}

.container {
  position: relative;
}


.container:hover .research-overlay, .container:hover .publication-overlay, .container:hover .surfzone-overlay {
  opacity: 0.6;
}

.publication-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/publication-tile.jpg');
}

.surfzone-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/surfzone-tile.jpg');
}

.text-box {
  background-color: black;
  height: 400px;
  width: 400px;
  top: 0;
  bottom: 0;
}

.text-box p {
  padding: 15px;
  color: white;
  font-size: 20px;
  position: relative;
  top: 125px;
  left: 200px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.publication-overlay-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  width: 400px;
  opacity: 0;
  background-color: black;
}

.surfzone-overlay-box {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 200px;
  width: 400px;
  opacity: 0;
  background-color: black;
}

.container:hover .research-overlay-box, .container:hover .publication-overlay-box, .container:hover .surfzone-overlay-box {
  opacity: 1;
}



.text-box-overlay p {
  padding: 15px;
  color: white;
  font-size: 20px;
  position: relative;
  top: 101px;
  left: 200px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
/*
====================================================================================================================================================================
                                                    End Content Properties
====================================================================================================================================================================
*/
